package models

import "time"

// 学生作业通知
type HomeworkNotice struct {
	Id              int64     `orm:"description(自增主键)"`
	Student         *Student  `orm:"rel(fk);null;default(0);description(学生Id)" json:"-"`
	Homework        *Homework `orm:"rel(fk);null;default(0);description(作业Id)" json:"-"`
	Created         time.Time `orm:"auto_now_add;type(datetime);description(通知时间)" json:"-"`
	CreatedShowDate string    `orm:"-"`
	CreatedShow     string    `orm:"-" json:"-"`
	StudentName     string    `orm:"-"`
	TeacherName     string    `orm:"-"`
	TeacherPhone    string    `orm:"-"`
	HomeworkType    string    `orm:"-"`
	HomeworkContent string    `orm:"-"`
}
